#pragma once
#include <unordered_map>
#include <string>
#pragma warning(disable: 4251)
namespace NBE
{
	class NBE_API Config
	{
	public:
		typedef std::unordered_map<std::string,std::string> strstrmap;
		Config();
		Config(wchar_t* iniName);
		~Config();

		void loadConfig(wchar_t* iniName);
		const std::string& getInfo(const std::string& strName);
		const std::string& getInfo(const char*);
	private:
		strstrmap m_infoMap;
	};
}